package com.soho.helper;

public class ContentHelper {

	public static int STATUS_SUCCESS		=	1;
	public static int STATUS_FAILS			=	0;
	public static int STATUS_SUCCESS_CUS	=	2;//交易成功(被动更新）
	public static int STATUS_XFER_OK		=	3;//直接挂单就成功的记录
	public static int STATUS_RELOGIN		=	9;//access_token已失效 
	
	
	public static String OVER_TAG			=	"over";
	public static String CACHE_SECONDS		=	"five_seconds";//缓存5s
	public static String CACHE_MINUTE		=	"one_minute";//缓存1分钟
	public static String CACHE_HALF			=	"three_minute";//缓存30分钟
	
	public static final String UTF_8 = "UTF-8";
	
	/** config.properties */
	public static final String CONFIG_PROPERTIES = "config.properties";
	
	
	/** 上传文件目录 */
	public static final String BASE_UPLOAD_PATH = "upload";
	
	/** JSON时间格式 */
	public static final String JSON_DATE_PATTERN = "yyyy-MM-dd HH:mm:ss";
	
	
	public static String TABLE_LOG			=	"lj_log";
	public static String TABLE_SUBSCRIBE	=	"lj_subscribe";
	public static String TABLE_SYMBOLS		=	"lj_symbols";
	public static String TABLE_TRADES		=	"lj_trades";
	public static String TABLE_USERS		=	"lj_users";
	
	public static String TABLE_QUOTES_M1	=	"lj_quotes_m1";
	public static String TABLE_QUOTES_M5	=	"lj_quotes_m5";
	public static String TABLE_QUOTES_M15	=	"lj_quotes_m15";
	public static String TABLE_QUOTES_M30	=	"lj_quotes_m30";
	public static String TABLE_QUOTES_H1	=	"lj_quotes_h1";
	public static String TABLE_QUOTES_H4	=	"lj_quotes_h4";
	public static String TABLE_QUOTES_D1	=	"lj_quotes_d1";
	public static String TABLE_QUOTES_W		=	"lj_quotes_w";
	public static String TABLE_QUOTES_MN	=	"lj_quotes_mn";
	
	public static String ZONE_DEFAULT		=	"UTC+2";
	
}
